package com.autcar.training.service;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.HashMap;
import java.util.Map;

/**
 * @ProjectName: training
 * @Package: com.autcar.training.service
 * @ClassName: CountServiceText
 * @Author: YHHHH
 * @Description:
 * @Date: 2020/9/2 18:11
 * @Version: 1.0
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class CountServiceText {
    @Autowired
    private CountService countService;
    @Test
    public void CountText(){
        Integer customerCount = countService.workerCount();
        Map<String,Integer> cM = new HashMap<>();
        cM.put("customerCount",customerCount);
        System.out.println(cM);
    }

}
